Skip to main content

answer page setup

Type

command

Summary

Displays the appropriate page setup dialog for the platform.

Syntax

answer page setup [as sheet]

Description

The answer page setup command displays a dialog box where the user can set certain printing page related properties.

If the systemPrintSelector property is false or the system does not support native print dialogs a stack named "Page Setup Dialog" will be used. If the systemPrintSelector property is true then a dialog will be displayed by the operating system, in this case the exact options are determined by the printer driver and the operating system.

If the user does not cancel the dialog, upon return the printer settings properties will be updated to reflect their choices.

Examples

answer page setup
if the commandKey is down then
answer page setup
end if

command: answer, reset printing, answer printer, print, open printing, revShowPrintDialog

property: printRotated, printMargins

Compatibility and Support

Introduced

LiveCode 2.9

OS

mac

windows

linux

Platforms

desktop

Thank you for your feedback!

Was this page helpful?